var t = require("./_http.js");

exports.directCateList = function() {
    return new t.HTTP().request({
        url: "/pms/category/getProductCategory",
        data: {},
        method: "GET"
    });
}, exports.directBannerList = function() {
    return new t.HTTP().request({
        url: "/home/getBindPage",
        data: {},
        method: "GET"
    });
}, exports.directProductList = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/directProducts",
        data: {
            formData: o,
            pageNum: e,
            pageSize: r
        },
        method: "POST"
    });
}, exports.couponProductList = function(e, r, o) {
    return new t.HTTP().request({
        url: "/ams/couponHistory/getCouponToProduct",
        data: {
            formData: o,
            pageNum: e,
            pageSize: r
        },
        method: "POST"
    });
}, exports.ipInfo = function(e) {
    return new t.HTTP().request({
        url: "/pms/product/getIpInfo",
        data: {
            ipid: e
        },
        method: "GET"
    });
}, exports.productList = function(e, r) {
    return new t.HTTP().request({
        url: "/home/getHomeProductList",
        data: {
            pageNum: e,
            pageSize: r
        },
        method: "POST"
    });
}, exports.recommendList = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/getProductRecommended",
        data: {
            formData: e,
            pageNum: r,
            pageSize: o
        },
        method: "POST"
    });
}, exports.productListByIp = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/getProductListByIp",
        data: {
            formData: e,
            pageNum: r,
            pageSize: o
        },
        method: "POST"
    });
}, exports.productDetail = function(e) {
    return new t.HTTP().request({
        url: "/pms/product/getProductBlindBoxContent",
        data: {
            productId: e
        },
        method: "POST"
    });
}, exports.boxDetail = function(e) {
    var r = arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : "", o = arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : "";
    return new t.HTTP().request({
        url: "/pms/product/getProductBrightBoxContent",
        data: {
            productId: e,
            formMemberId: r,
            shareType: o
        },
        method: "POST"
    });
}, exports.boxQueue = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/getRandomBrightBoxQueue",
        data: {
            productId: e,
            queueId: r,
            excludeQueueId: o
        },
        method: "POST"
    });
}, exports.boxLineList = function(e, r) {
    return new t.HTTP().request({
        url: "/pms/product/getQueueClassifyMemberList",
        data: {
            productId: e,
            queueId: r
        },
        method: "POST"
    });
}, exports.boxLineAdd = function(e, r) {
    return new t.HTTP().request({
        url: "/pms/product/brightBoxClassify",
        data: {
            productId: e,
            queueId: r
        },
        method: "POST"
    });
}, exports.boxLineExit = function() {
    return new t.HTTP().request({
        url: "/pms/product/exitBoxClassify",
        data: {},
        method: "POST"
    });
}, exports.myLineInfo = function() {
    return new t.HTTP().request({
        url: "/pms/product/queryMemberToClassify",
        data: {},
        method: "POST"
    });
}, exports.boxSkuList = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/getDrawBoxBottomSkuList",
        data: {
            productId: e,
            queueId: r,
            boxId: o
        },
        method: "POST"
    });
}, exports.boxShake = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/shakeBrightBox",
        data: {
            productId: e,
            queueId: r,
            boxId: o
        },
        method: "POST"
    });
}, exports.boxChange = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/changeBrightBox",
        data: {
            productId: e,
            queueId: r,
            boxId: o
        },
        method: "POST"
    });
}, exports.boxUseTipCard = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/brightBoxDrawBoxHint",
        data: {
            productId: e,
            queueId: r,
            boxId: o
        },
        method: "POST"
    });
}, exports.boxUseShowCard = function(e, r, o) {
    return new t.HTTP().request({
        url: "/pms/product/brightBoxDrawBoxShow",
        data: {
            productId: e,
            queueId: r,
            boxId: o
        },
        method: "POST"
    });
}, exports.tryProduct = function() {
    return new t.HTTP().request({
        url: "/taskManager/getEverydayDemoDetails",
        data: {},
        method: "POST"
    });
}, exports.trySkuList = function(e, r) {
    return new t.HTTP().request({
        url: "/taskManager/getDrawBoxBottomSkuList",
        data: {
            productId: e,
            boxId: r
        },
        method: "POST"
    });
}, exports.tryShake = function(e, r) {
    return new t.HTTP().request({
        url: "/taskManager/shakeBrightBox",
        data: {
            productId: e,
            boxId: r
        },
        method: "POST"
    });
}, exports.tryChange = function(e, r) {
    return new t.HTTP().request({
        url: "/taskManager/changeBrightBox",
        data: {
            productId: e,
            boxId: r
        },
        method: "POST"
    });
}, exports.tryOpen = function(e, r) {
    return new t.HTTP().request({
        url: "/taskManager/openBrightBox",
        data: {
            productId: e,
            boxId: r
        },
        method: "POST"
    });
};